package com.ark.cloud.java.persistence.entity;

/**
 * Copyright(c): 2021 Cloud-Ark Inc.
 * Author(s): Ma Wei (mawei@cloud-ark.com)
 */


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;

/**
 * 变轨事件
 */
@Data
@TableName("bg_cmd")
@Builder
@AllArgsConstructor
@NoArgsConstructor

public class BGCMD {

    private Long id;

//    @TableField("timestamp")
//    private String timestamp;           // 时间

    @TableField("bghead_id")
    private Long bgheadId;
    @TableField(exist = false)
    private BGCMDHEAD bgCmdHead;
    @TableField(exist = false)
    private ArrayList<BGParam> paramArray; // 参数数组

}
